<cfsetting enablecfoutputonly="true" />
<!--- @@Copyright: Daemon Pty Limited 2002-2008, http://www.daemon.com.au --->
<!--- @@displayname: Display comment teaser (li) --->
<!--- @@Description: Display of a teaser for a blog comment content item in the FarCry Blog plugin --->

<!--- import tag libraries --->
<cfimport taglib="/farcry/core/tags/webskin" prefix="skin" />

<!--- local variables --->
<cfset stlocal.gravatar = URLEncodedFormat("http://#cgi.HTTP_HOST#/skinskittlish/css/images/gravatar.png") />

<skin:view typename="#stobj.typename#" objectid="#stobj.objectid#" webskin="displayCommentHandle" r_html="htmlCommentHandle" />

<cfoutput>
<li id="comment-333" class="comment <cfif len(stobj.profileID)>by-author</cfif>">
		
	<div class="user-comments-avatar">
		<cfif len(stobj.website)>
			<a href="#stobj.website#" rel="comment author" title="Visit #stobj.website#"><img src="http://www.gravatar.com/avatar/#lcase(hash(stobj.email))#?size=64&amp;d=#stlocal.gravatar#" alt="#stobj.commentHandle# - Gravatar" class="gravatar" /></a>
		<cfelse>
			<img src="http://www.gravatar.com/avatar/#lcase(hash(stobj.email))#?size=64&amp;d=#stlocal.gravatar#" alt="#stobj.commentHandle# - Gravatar" class="gravatar" />
		</cfif>
	</div>
	<div class="user-comments" style="padding-left: 20px;">
		<p class="meta">	
			<strong>
			#htmlCommentHandle#
			</strong>
			on
			<em>#dateformat(stObj.dateTimeCreated, "dd mmm yyyy")# #timeformat(stObj.dateTimeCreated, "hh:mm tt")#</em>
		</p>
		<div class="body">
			<p>#stObj.description#</p>
		</div>
	</div>
	
	<br class="clearfix" />
</li>

</cfoutput>

<cfsetting enablecfoutputonly="false" />